//
//  WMDownloadManager.h
//  WholeMusic
//
//  Created by quanxiong on 2018/2/24.
//  Copyright © 2018年 quanxiong. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WMDownloadManager : NSObject

+ (instancetype)sharedManager;

- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;

- (void)addDownloadTaskWithUrl:(NSString *)url
                      filePath:(id)filePath
                      progress:(void (^)(NSProgress *downloadProgress)) downloadProgressBlock
             completionHandler:(void (^)(NSURLResponse *response, NSURL *filePath, NSError *error))completionHandler;

@end
